﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using tmAsk.Common;

namespace tmAsk.Manager
{
    public partial class Main : System.Web.UI.Page
    {
        tmAsk.Data.MakehtmlSQL sql = new tmAsk.Data.MakehtmlSQL();

        public string aid;
		
        protected void Page_Load(object sender, EventArgs e)
        {
            function.CheckAdminLogin();
            DataRow dr = sql.GetList("b_admin", "a_username='" + Session["adminName"].ToString() + "'", "*").Tables[0].Rows[0];
            this.lblAdminName.Text = dr["a_username"].ToString();
            aid = dr["a_id"].ToString();
            this.show_img.Src = alldata.Config_Path + "/images/face/default.jpg";
        }
    }
}